Overload | Description |
---|---|
When<TExpected>(Func<TExpected,TResult>) | Matches item by type. |
When<TExpected>(TExpected,Func<TExpected,TResult>) | Matches the item by value. |
When<TExpected>(Predicate<TExpected>,Func<TExpected,TResult>) | Matches the item by value. |